<?php
/**
 * 环信
 */

namespace App\Services\Easemob;

use Easemob\Auth;
use Easemob\Group;
use Easemob\Message;
use Easemob\User;
use Easemob\UserMetadata;

use App\Models\Member\Member;

use App\Services\Com\UtilService;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;

class AppPush extends Base
{
    /** 
     * @param $param
     * @throws \Exception
     */
    public static function push(array $param)
    {
        $auth = self::getInstance();
        $message = new Message($auth);



        return $message->getHistoryAsLocalFile($param['date'], $param['filename']);
    }
    
}